package org.jeecg.modules.system.rule;

import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson.JSONObject;
import org.jeecg.common.handler.IFillRuleHandler;

import java.util.UUID;

/**
 * @Author scott
 * @Date 2019/12/9 11:33
 * @Description: 机构编码生成规则
 */
public class SecretKeyRule implements IFillRuleHandler {

    @Override
    public Object execute(JSONObject params, JSONObject formData) {

        return StrUtil.join("", UUID.randomUUID().toString().split("-"));
    }
}
